package com.zdk.springcloudstock.controller;



import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author quavario@gmail.com
 * @date 2021/11/30 15:20
 */
@RestController
@RequestMapping(value = "stock")
public class DemoController {


    @GetMapping(value = "test")
    public String test(String name){
        return  name+"减少了库存";
    }


}
